package com.cy.pj.projects.dao;

import com.cy.pj.projects.pojo.PortalTypeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

/*
 * 基于t_type表,数据封装查询的方法;
 * */
@Mapper
@Component
public interface PortalTypeDao {
    //1.查询 分类数据;
    @Select("select id,name,remark from t_type")
    List<PortalTypeVO> getPortalTypeObjects();
}
